package com.igeek.boot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
@Data
@TableName("customers")
@ApiModel(value="Customers对象", description="")
public class Customers implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户ID（CustomerID）：唯一标识每个客户的ID")
    @TableId(value = "customerID", type = IdType.AUTO)
    private Integer customerID;

    @ApiModelProperty(value = "客户名称（CustomerName）：客户的名称")
    @TableField("customer_name")
    private String customerName;

    @ApiModelProperty(value = "客户地址（CustomerAddress）：客户的地址")
    @TableField("customer_address")
    private String customerAddress;

    @ApiModelProperty(value = "客户的身份证号")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty(value = "关联用户id")
    @TableField("user_id")
    private Integer userId;



}
